<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="../common.jsp" %>

<div id="dialog_role_edit"  class="contentcontainer">
    <div class="headings altheading">
        <h2><fmt:message key="view.role.edit" /></h2>
    </div>		
	<div class="contentbox">
		<form id="form_role_edit" action="${_ctx}/user/role-edit.action">
			<input type="hidden" id="roleId" name="role.id" value="${role.id}" />
			<table>
				<tr>
					<td><fmt:message key="view.role.name" /></td>
					<td><input type="text" name="role.name" id="name"  value="${role.name}" /></td>
				</tr>
				<tr>
					<td><fmt:message key="view.role.code" /></td>
					<td><input type="text" name="role.code" id="code"  value="${role.code}" /></td>						
				</tr>
				<tr>
					<td colspan="2" align="right"><input type="submit" class="btn" value="<fmt:message key="view.edit" />">&nbsp;</td>
				</tr>
			</table>
		</form>
	</div>
</div>	
	
<script type="text/javascript">
	$(document).ready(function() {
		rightside.modalForm("form_role_edit");
	});
</script>
    
